package data.visu.datasets;

import data.visu.enums.E_BandTypes;
import data.visu.structures.Range;
import data.visu.structures.ValueAndString;

/**
 * @author Charles Perin
 * 29 mars 2011
 * LIMSI - INRIA Rennes
 * charles.perin@free.fr
 *
 */
public class BandDataSet extends A_DisplayDataDataSet {

	/**
	 * Constructeur vide
	 */
	public BandDataSet() {
		super();
	}

	public BandDataSet(E_BandTypes type, int xMin, int xMax){
		super(xMin, xMax);
	}

	@Override
	public void addRange2Map(Range range, Object startValue) {
		addNewRangeInMap(range, (ValueAndString)startValue);
	}

	@Override
	public void addOrderedRange2Map(Range range, Object value) {
		rangeMap.put(range, (ValueAndString)value);

	}

}
